#include <iostream>

using namespace std;

int main(int argc, char *argv[]){

    try{
        throw 1;
    }catch(int x) {
        cout << x << endl;
    };
    cout << "2" << endl;

    return 0;
}